// 本地存储  存 取 删

// 存
export const setStorage = (name, val) => {
	uni.setStorageSync(name, val)
}

// 取
export const getStorage = (name) => {
	return uni.getStorageSync(name)
}

// 删
export const removeStorage = (name) => {
	uni.removeStorageSync(name)
}

// 这个是删除本地存储的所有的键值对
export const clearStorage = () => {
	uni.clearStorageSync()
}